package com.power.model.mdao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.power.model.pojo.User;

@Mapper
public interface UserMapper {
	public User selectByUnameAndPwd(String name,String pwd);
	public List<User> selectAll();
	public List<User> selectUserBynameAndIS(String name,Integer isstatus);
	public void updateUser(Integer uid,Integer isstatus);
	public User selectUserByUid(Integer uid);

	public List<User> selectByRId(Integer rid);
	public List<User> selectByuserName(String uname);
	public List<User> selectRoleByxunjian();
}
